import http from '@/service/http'
import { url } from '../config'

const baseUrl = url.baseUrl;
// export const _getUserList = params => http.$POST(`${baseUrl}/relation/getUserList`, params)
// export const _getLoginUser = params => http.$GET(`${dicBaseUrl}/user/getLoginUser`, params)
// export const _getUserInfo = sn => http.$GET(`${dicBaseUrl}/user/getUserInfoBySn/${sn}`)
// export const _logout = () => http.$GET(`${dicBaseUrl}/user/logout`)
export const _getUserInfo = data => http.$GET( `${baseUrl}/user`, data)
export const _getApplications = data => http.$GET(`${baseUrl}/applications`, data)
export const _logout = data => http.$GET(`${baseUrl}/logout`, data)